package org.zsqx.bean;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import cDao.annotation.FieldTypeAnnotation;

/**
 * Qfr entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "QFR", schema = "dbo", catalog = "BN4PS9Z220010012")
public class Qfr implements java.io.Serializable {

	// Fields
	@FieldTypeAnnotation(colum="qr_num",fieldType=Integer.class,isKey=true)
	private Integer qrNum;
	private Date qrAddtime;
	private String qrMobile;
	private String qrName;
	private String qrSex;
	private Integer qrZdz;

	// Constructors

	/** default constructor */
	public Qfr() {
	}

	/** minimal constructor */
	public Qfr(Integer qrNum) {
		this.qrNum = qrNum;
	}

	/** full constructor */
	public Qfr(Integer qrNum, Date qrAddtime, String qrMobile,
			String qrName, String qrSex, Integer qrZdz) {
		this.qrNum = qrNum;
		this.qrAddtime = qrAddtime;
		this.qrMobile = qrMobile;
		this.qrName = qrName;
		this.qrSex = qrSex;
		this.qrZdz = qrZdz;
	}

	// Property accessors
	@Id
	@Column(name = "QR_NUM", unique = true, nullable = false)
	public Integer getQrNum() {
		return this.qrNum;
	}

	public void setQrNum(Integer qrNum) {
		this.qrNum = qrNum;
	}

	@Column(name = "QR_ADDTIME", length = 23)
	public Date getQrAddtime() {
		return this.qrAddtime;
	}

	public void setQrAddtime(Date qrAddtime) {
		this.qrAddtime = qrAddtime;
	}

	@Column(name = "QR_MOBILE")
	public String getQrMobile() {
		return this.qrMobile;
	}

	public void setQrMobile(String qrMobile) {
		this.qrMobile = qrMobile;
	}

	@Column(name = "QR_NAME", length = 10)
	public String getQrName() {
		return this.qrName;
	}

	public void setQrName(String qrName) {
		this.qrName = qrName;
	}

	@Column(name = "QR_SEX", length = 10)
	public String getQrSex() {
		return this.qrSex;
	}

	public void setQrSex(String qrSex) {
		this.qrSex = qrSex;
	}

	@Column(name = "QR_ZDZ")
	public Integer getQrZdz() {
		return this.qrZdz;
	}

	public void setQrZdz(Integer qrZdz) {
		this.qrZdz = qrZdz;
	}

}